from selenium.webdriver.common.by import By
from page.base_page import BasePage

class HomePage(BasePage):
    #给登录之后的主页面相关数据，登陆成功提示语
    url = ""
    tips_success_locator = (By.CSS_SELECTOR,"body > div.container > div.alert.alert-success")
    def tips_success_text(self):
        text = self.find_element(self.tips_success_locator).text
        return text




